package com.ljc.service;

import com.ljc.dto.DeviceDistribute;
import com.ljc.dto.DeviceSta;
import com.ljc.dto.DeviceStatAge;
import com.ljc.dto.Devices;
import com.ljc.entity.DeviceContract;
import com.ljc.vo.Count;
import com.ljc.vo.DeviceSearch;
import com.ljc.vo.StaOrg;

import java.util.List;

public interface DeviceService {
    List<Devices> searchByAdmit(DeviceSearch search);
    List<DeviceDistribute> statTotalByAdmit(DeviceSearch deviceSearch);
    List<String> getAllNameByAdmit(int admitId);
    Count count(int admitId);
    List<String> getAllOrganization(int admitId);
    List<DeviceStatAge> statAgeByAdmit(DeviceSearch deviceSearch);


    List<Devices> searchByUser(DeviceSearch search);
    List<DeviceSta> deviceSta(DeviceSearch search);
    int countQuantityByUser(int userId);
    int countPriceByUser(int userId);
    List<String> searchNameByUser(int userId);
    List<DeviceStatAge> deviceAgeStaByUser(DeviceSearch deviceSearch);
    List<DeviceSta> staOrg(StaOrg staOrg);
}
